home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / LINUX / NFSD / STATS.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  795b  |  33 lines

  1. /*
  2.  * linux/include/nfsd/stats.h
  3.  *
  4.  * Statistics for NFS server.
  5.  *
  6.  * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de>
  7.  */
  8.  
  9. #ifndef LINUX_NFSD_STATS_H
  10. #define LINUX_NFSD_STATS_H
  11.  
  12. struct nfsd_stats {
  13.     unsigned int    rchits;        /* repcache hits */
  14.     unsigned int    rcmisses;    /* repcache hits */
  15.     unsigned int    rcnocache;    /* uncached reqs */
  16.     unsigned int    fh_cached;    /* dentry cached */
  17.     unsigned int    fh_valid;    /* dentry validated */
  18.     unsigned int    fh_fixup;    /* dentry fixup validated */
  19.     unsigned int    fh_lookup;    /* new lookup required */
  20.     unsigned int    fh_stale;    /* FH stale error */
  21. };
  22.  
  23. #ifdef __KERNEL__
  24.  
  25. extern struct nfsd_stats    nfsdstats;
  26. extern struct svc_stat        nfsd_svcstats;
  27.  
  28. void    nfsd_stat_init(void);
  29. void    nfsd_stat_shutdown(void);
  30.  
  31. #endif /* __KERNEL__ */
  32. #endif /* LINUX_NFSD_STATS_H */
  33.